//@author A0106044W
package commandInfo;

import storage.Task;

/**
 * 
 * 
 * 	       Sothearith Sreang
 *         All of the CommandInfo part is written by me.
 *         commandInfo is created for command history purposes.
 * 			
 */

public class StatusCommandInfo extends CommandInfo {

	Task task;
	boolean status;
	
	public StatusCommandInfo(String command, Task taskAtt, boolean statusAtt) {
		super.command = command;
		task = taskAtt;
		status = statusAtt;
	}
	
	public Task getUpdatedTask() {
		return task;
	}
	
	public boolean getStatus() {
		return status;
	}
}
